SQLite
SQLite class provides mechanisms to interact with a SQLite database on the Android platform. It implements Driver, Driver.Pool, and Driver.Transactional interfaces, offering functionalities such as connection pooling, executing queries, fetching data, and handling transactions.
The URL format for SQLite can be one of the following:
sqlite::memory:- Creates an in-memory databasesqlite:database.db- Creates/opens a database filesqlite:/path/to/database.db- Uses absolute path
If the URL does not start with "sqlite:", it will be automatically prefixed.
Parameters
The Android Context to use for database operations.
The URL of the SQLite database to connect to.
Optional pool configuration, defaulting to ConnectionPool.Options.
Optional registry of value encoders to use for encoding query parameters.